<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
    body{
      overflow: hidden;
    }
    #d1{
      width: 100px;
      height: 100px;
      background-color: red;

      margin-top: 200px;
      margin-left: 50px;

      overflow: hidden;
    }
    #d3{
      width: 50px;
      height: 50px;
      background-color: blue;

      margin-top: 25px;
      margin-left: 25px;
    }
    #d2{
      width: 100px;
      height: 100px;
      border: 5px solid #00ff00;
      border-radius: 10px;

      margin-left: 150px;

      padding-top: 40px;
      padding-left: 25px;
      box-sizing: border-box;
    }
  </style>
</head>
<body>
<div id="d1">
  <div id="d3"></div>
</div>
<div id="d2">哈喽哈喽</div>
</body>
</html>